
export default {
  data () {
    return {
      chartColors: ['#2b8dd1','#b25070', '#9e62c4', '#e66a3e', '#45c489','#49a778',  '#e99a26', '#9d6858','#4d6dae', '#4d6e83', '#bac1c8']
    }
  },
  created: function () {
    $(window).on('resize', this.change)
  },
  destroyed () {
    $(window).off('resize', this.change)
  },
  methods: {
    change () {
      if(this.chart){
        if(this.renderChart){
          this.renderChart()
        }
      }
    }
  }
}
